package eclipse.client;
import javax.swing.*;
/**
 * Applet form of the Client. This is called when the client is embedded instead
 * of the Application.
 */
public class Applet extends JApplet
{
	private static final long serialVersionUID = 1L;
	public void init()
	{
		String tmp[] = {null};
		try
		{						
			Database.APPLET = true;
			Database.drawSurface = this;
			Application.main(tmp);		
		}
		catch(Exception e)
		{
			eclipse.ErrorManager.handleError(e);
		}
	}
}	
